//
//  LSZPalyShareTableViewCell.m
//  JKFuYinProject
//
//  Created by 九酷 on 2017/9/27.
//  Copyright © 2017年 LC. All rights reserved.
//

#import "LSZPalyShareTableViewCell.h"

@implementation LSZPalyShareTableViewCell
-(id)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        self.lableTitle = [[UILabel alloc]initWithFrame:CGRectMake(15, 12, WidthScal750(500), 17)];
        self.lableTitle.font = FONT_18;
        self.lableTitle.textColor = titleColorLSZ;
        [self addSubview:self.lableTitle];
        
        self.labelIntroduce = [[UILabel alloc]initWithFrame:CGRectMake(15, CGRectGetMaxY(self.lableTitle.frame)+6, WidthScal750(500), 13)];
        self.labelIntroduce.textColor = lightColor;
        self.labelIntroduce.font = FONT_12;
        [self addSubview:self.labelIntroduce];
        
        self.butShare = [[UIButton alloc]initWithFrame:CGRectMake(ScreenWidth-19-60,0,19+60, 60 )];
        [self.butShare setImage:[UIImage imageNamed:@"类别"] forState:UIControlStateNormal];
        [self addSubview:self.butShare];
    }
    return self;
}
- (void)clickOnThisSongToPlayPalyShare:(BOOL)isSystemRed
{
    if (isSystemRed == YES) {
        self.lableTitle.textColor = redUIColor;
        self.labelIntroduce.textColor = redUIColor;
    }else{
        self.lableTitle.textColor = titleColorLSZ;
        self.labelIntroduce.textColor = lightColor;
    }
}

@end
